package com.lyl.lawyer.model.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 添加用户接收实体类
 */
@Data
@ApiModel("修改用户接收类型")
public class UserUpdateDto {
    private Integer id;
    @ApiModelProperty(value = "用户名")
    private String username;//用户名
    @ApiModelProperty(value = "密码")
    private String password;//密码
    @ApiModelProperty(value = "性别")
    private String gender;//性别
    @ApiModelProperty(value = "生日")
    private Date birthday;//生日
    @ApiModelProperty(value = "邮箱")
    private String email;//邮箱
    @ApiModelProperty(value = "手机")
    private String mobile;//手机
    @ApiModelProperty(value = "爱好")
    private String hobby;//爱好
    @ApiModelProperty(value = "体重")
    private Float weight;//体重
    @ApiModelProperty(value = "家庭住址")
    private String address;//家庭住址
    @ApiModelProperty(value = "角色")
    private List<String> role;
    @ApiModelProperty(value = "权限")
    private List<String> permission;
}
